<div class="container-fluid clearfix">
	<div class="uc-info-l clearfix">
		<div class="head-photo f-l">
			<img src="{$data.user_info.head_image}" id="head_image" width="120" height="120">
<!-- 			<input type="hidden" name="head_image" value="{$data.user_info.head_image}" />
			<div class="block-change">
				<div class="change-bg"></div>
				<div class="change-photo" onclick='open_avatar_view(150,150,"head_image",function(){save_img(150,150,"head_image",APP_ROOT+"/mapi/index.php?ctl=user&act=update");});'>
					<i class="icon iconfont">&#xe627;</i>
					<p>修改头像</p>
				</div>
			</div> -->
		</div>
		<div class="block-uc-info f-l">
			<div class="user-nickname">你好，{$data.promoter.name}</div>
			<div class="user-other">账号： {$data.promoter.login_name}</div>
			<div class="user-other">上级：{$data.p_name}</div>
            <!-- <div class="user-other">最近一次登录时间：{$data.user_info.login_time}</div> -->
        </div>
        <button type="button" class="btn btn-primary btn-setpwd" ms-important="vm-set_pwd" id="set_pwd" ms-click="@setPwd">修改密码</button>
	</div>
	<div class="uc-info-r">
		<div class="uc-total-bar">
			<p>
				<label>我的游戏币</label>
				<span><em>{$data.user_info.coin}</em>&nbsp;游戏币</span>
			</p>
		</div>
		<div style="height:20px;"></div>
		<div class="uc-total-bar">
			<p>
				<label>我的钻石</label>
				<span><em>{$data.user_info.diamonds}</em>&nbsp;钻石</span>
			</p>
		</div>


	</div>
</div>
<!--数据概况-->
<div class="m-common-item">
	<div class="m-common-title clearfix">
		<span class="field">数据概况</span>
	</div>
	<div class="common-content clearfix">
		<div class="data-count clearfix">
		{if $data.is_top eq 0}
			<div class="data-count-block">
				<span>{$data.new_user_sum}</span>
				<label>今日新增会员</label>
			</div>
			<div class="data-count-block">
				<span>{$data.game_sum}</span>
				<label>今日游戏收支(游戏币)</label>
			</div>
			<div class="data-count-block">
				<span>{$data.gift_sum}</span>
				<label>今日礼物收益(印票)</label>
			</div>
		{else}
			<div class="data-count-block">
				<span>{$data.re_promoter_count}</span>
				<label>待审核推广商</label>
			</div>
			<div class="data-count-block">
				<span>{$data.promoter_count}</span>
				<label>审核通过推广商</label>
			</div>
			<div class="data-count-block">
				<span>{$data.game_sum}</span>
				<label>今日游戏收益(游戏币)</label>
			</div>
		{/if}
			
			
		</div>
	</div>
</div>
<script type="text/javascript">
	var user_mobile="{$data.user.mobile}";
</script>
{if $data.user.mobile}
<div id="hidden-set-pwd" style="display:none;">
	{include file="inc/set-pwd.html"}
</div>
{else}
<div id="hidden-bind-mobile" style="display:none;">
	{include file="inc/bind-mobile.html"}
</div>
{/if}